import request from '@/utils/request'

// 列表
export function examinationList(query) {
  return request({
    url: '/api/v1/sys-examination',
    method: 'get',
    params: query
  })
}

// 添加
export function addExamination(data) {
  return request({
    url: '/api/v1/sys-examination',
    method: 'post',
    data
  })
}

// 更新
export function updateExamination(data) {
  return request({
    url: '/api/v1/sys-examination',
    method: 'put',
    data
  })
}

// 删除
export function deleteExamination(data) {
  return request({
    url: '/api/v1/sys-examination',
    method: 'DELETE',
    data
  })
}
